import("//third-party/unittest/unittest.gni")

unittest("IRTests") {
  deps = [
    "//llvm/lib/Analysis",
    "//llvm/lib/AsmParser",
    "//llvm/lib/IR",
    "//llvm/lib/Passes",
    "//llvm/lib/Support",
    "//llvm/lib/Testing/Support",
    "//llvm/lib/Transforms/Utils",
  ]
  sources = [
    "AbstractCallSiteTest.cpp",
    "AsmWriterTest.cpp",
    "AttributesTest.cpp",
    "BasicBlockTest.cpp",
    "CFGBuilder.cpp",
    "ConstantRangeTest.cpp",
    "ConstantsTest.cpp",
    "CoreBindings.cpp",
    "DataLayoutTest.cpp",
    "DebugInfoTest.cpp",
    "DebugTypeODRUniquingTest.cpp",
    "DemandedBitsTest.cpp",
    "DominatorTreeBatchUpdatesTest.cpp",
    "DominatorTreeTest.cpp",
    "FunctionTest.cpp",
    "IRBuilderTest.cpp",
    "InstructionsTest.cpp",
    "IntrinsicsTest.cpp",
    "LegacyPassManagerTest.cpp",
    "MDBuilderTest.cpp",
    "ManglerTest.cpp",
    "MetadataTest.cpp",
    "ModuleSummaryIndexTest.cpp",
    "ModuleTest.cpp",
    "PassBuilderCallbacksTest.cpp",
    "PassManagerTest.cpp",
    "PatternMatch.cpp",
    "ShuffleVectorInstTest.cpp",
    "TimePassesTest.cpp",
    "TypesTest.cpp",
    "UseTest.cpp",
    "UserTest.cpp",
    "VPIntrinsicTest.cpp",
    "ValueHandleTest.cpp",
    "ValueMapTest.cpp",
    "ValueTest.cpp",
    "VectorBuilderTest.cpp",
    "VectorTypesTest.cpp",
    "VerifierTest.cpp",
  ]
}
